<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>This test ensures that the focus ring is shown on the checkbox after tabbing out and inside the window.</p>
<input type="checkbox" id="checkbox" checked>
<input id="input">
<pre id="console">
checkbox was focused
checkbox was blurred
input was focused
input was blurred
window was blurred
window was focused
checkbox was focused
</pre>

<script>
var checkbox = document.getElementById('checkbox');
checkbox.focus();
</script>
</body>
</html>
